package com.novax.ex.activity.provider.service;

import com.novax.ex.activity.infrastructure.entity.TaskAwardLog;
import com.novax.ex.activity.infrastructure.mapper.TaskAwardLogMapper;
import com.novax.ex.common.base.BaseMapper;
import com.novax.ex.common.base.BaseService;
import org.springframework.stereotype.Service;

import jakarta.annotation.Resource;
import java.util.List;

@Service
public class TaskAwardLogService extends BaseService {

    @Resource
    private TaskAwardLogMapper taskAwardLogMapper;

    @Override
    protected BaseMapper getBaseMapper() {
        return taskAwardLogMapper;
    }


    public List<TaskAwardLog> findAwardByUid(Long uid) {
        return taskAwardLogMapper.selectByUserId(uid);
    }
}
